/*
     gcc testcnf.c conf.o -lssl

*/

#include "conf.h"
int
main(void)
{
	Conf_Buf *c = NULL;
	char *f;

	c = get_config_info("Params", "ServerSection");
	prConf(c);

	f = (char *)malloc(sizeof(char) * 80);
	strcpy(f, "server");
	fprintf(stderr, "find(c,%s)=%s\n", f, findConf(c, f));
	strcpy(f, "port");
	fprintf(stderr, "find(c,%s)=%s\n", f, findConf(c, f));
	free(f);
	c = freeConf(c);

	c = get_config_info("Params", "CASection");
	prConf(c);
	c = freeConf(c);

	return 0;
}
